<?php
    include_once "../../core/_includes/includes.php";
    //include_once 'http://webmotor.sensystar.com/core/_classes/Core.php';
    //include_once 'http://webmotor.sensystar.com/core/_classes/WebMotor.php';
    //require '../../core/_classes/Db.php';
	
	$_GET['controler']	= (isset($_GET['controler'])) 	? $_GET['controler']	: "test";
	$_GET['view']		= (isset($_GET['view'])) 		? $_GET['view']			: "test";
	
	$application		= WebMotor::getInstance("example");
	//$controler		 = new Controler($_GET['controler'], $_GET['view']);

    
    $stmt   = $application->db->execute('SELECT title FROM content');
    while($x=$application->db->get_row($stmt,0)){
        echo $x['title'].'<br />';
    }